/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dbaccess;

import java.sql.Time;

/**
 *
 * @author Peter
 */
public class DBObjZakazka {

    public int id;
    public DBObjTaxikar taxikar;
    public Time start;
    public String miestoStartu;
    public Time ciel;
    public String miestoCiela;
    public int vzdialenostZakazky;
    public int celkovaVzdialenost;
    public int cena;

    public DBObjZakazka(int id, DBObjTaxikar taxikar, Time start, String miestoStartu, Time ciel, String miestoCiela,
            int vzdialenostZakazky, int celkovaVzdialenost, int cena) {
        this.id = id;
        this.taxikar = taxikar;
        this.start = start;
        this.miestoStartu = miestoStartu;
        this.ciel = ciel;
        this.miestoCiela = miestoCiela;
        this.vzdialenostZakazky = vzdialenostZakazky;
        this.celkovaVzdialenost = celkovaVzdialenost;
        this.cena = cena;
    }
}
